//
//  CarModelList.swift
//  koolcar
//
//  Created by kuaimaxiansheng on 2023/10/11.
//

import UIKit
import ObjectMapper

class CarModelList: Mappable {
    var code: String?
    var msg: String?
    var data: [CarModelDataList]?
    func mapping(map: Map) {
        code <- map["code"]
        msg <- map["msg"]
        data <- map["data"]
    }
    required init?(map: Map) {
        
    }
}

class CarModelDataList: Mappable {
    var carCategory: String?
    var id: NSInteger?
    var image: String?
    var isSelect = true
    var carIconUrl: String?
    func mapping(map: Map) {
        carCategory <- map["carCategory"]
        id <- map["id"]
        carIconUrl <- map["carIconUrl"]
    }
    required init?(map: Map) {
        
    }
    
    init() {
        
    }
}
